import request from '../utils/request';

// 获取角色列表
export const rolesList = () => request({ method: 'get', url: 'roles' });


// 添加
export const add = (req) => request(req);



// 编辑角色
export const bianji = (req) => request(req);


// 查询角色
export const search_data = (req) => request(req);

// 删除角色
export const delete_user = (req) => request(req);